package com.zhaowei.tlzy.allinpay.controller;

import com.zhaowei.tlzy.allinpay.helper.AllinPayConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @Autowired
    private AllinPayConfig allinPayConfig;

    @GetMapping("/test")
    public String test()
    {
        System.out.print(allinPayConfig.getAllInPayAppId().toString());
        return  "woaini";
    }
}
